package com.woniu.smart.mapper;

import com.woniu.smart.dto.CarpayDTO;
import com.woniu.smart.entity.Carpay;
import com.woniu.smart.vo.CarpayVO;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【carpay】的数据库操作Mapper
* @createDate 2022-10-21 17:02:16
* @Entity com.woniu.smart.entity.Carpay
*/
public interface CarpayMapper {
    /**
     * 等到当前页数据
     * @param
     * @return
     */
    List<CarpayVO> selectAll(CarpayDTO carpayDTO);
    //根据车牌号码查寻车辆相关信息
    List<CarpayVO> selectByCarNum(String carNum);
    //查找所有主键
    List<Integer> selectPrimaryKey();

    CarpayVO selectByCarpayId(Long id);

    int deleteByPrimaryKey(Long id);

    int insert(Carpay record);

    int insertSelective(Carpay record);

    Carpay selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Carpay record);

    int updateByPrimaryKey(Carpay record);

}
